/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package BO;

import java.sql.SQLException;

/**
 *
 * @author Quang Thao
 */
public class CartBO {
    Mapper.CartMapper map;
    
    public CartBO() throws SQLException
    {
        map = new Mapper.CartMapper();
    }
    
    public int Add(Bean.CartBean cart) throws Exception
    {
        return map.Add(cart);
    }
    
    public String GetNewID() throws Exception
    {
        return map.GetNewID();
    }
}
